﻿using System.ComponentModel.DataAnnotations.Schema;

namespace Super.Admin.Entities
{
    [Table("sys_user_common_permission")]
    public class UserCommonPermissionEntity
    {
        [Column("user_id")]
        public int UserId { get; set; } // 角色id
        [Column("permission_id")]
        public int PermissionId { get; set; } // 权限id

        public UserEntity User { get; set; } // 角色信息
        public PermissionEntity Permission { get; set; } // 权限信息
    }
}
